package com.example.vehiclemanagesystem.dao;

import com.example.vehiclemanagesystem.entity.Moments;
import com.example.vehiclemanagesystem.entity.MomentsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface MomentsMapper {
    int countByExample(MomentsExample example);

    int deleteByExample(MomentsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Moments record);

    int insertSelective(Moments record);

    List<Moments> selectByExample(MomentsExample example);

    Moments selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Moments record, @Param("example") MomentsExample example);

    int updateByExample(@Param("record") Moments record, @Param("example") MomentsExample example);

    int updateByPrimaryKeySelective(Moments record);

    int updateByPrimaryKey(Moments record);
}